﻿using System.Runtime.InteropServices;

namespace Btstack
{
    public class Sm
    {
        // IO Capability Values
        public enum IoCapability
        {
            DisplayOnly = 0,
            DisplayYesNo,
            KeyboardOnly,
            NoInputNoOutput,
            KeyboardDisplay // not used by secure simple pairing
        }

        [DllImport("btstack-c.dll", EntryPoint = "sm_init")]
        public static extern void Init();

        [DllImport("btstack-c.dll", EntryPoint = "sm_set_io_capabilities")]
        public static extern void SetIoCapabilities(IoCapability capability);
    }
}
